#ifndef dq_ItemCategory_h
#define dq_ItemCategory_h

#include "Record.h"
#include "TransientState.h"

namespace serika
{
	namespace db
	{
		class ItemCategory;
	}

	namespace dq
	{
		class ItemCategory
		{
			typedef Record<db::ItemCategory> Category;

			ItemCategory(db::ItemCategory* category, TransientState::Enum state);
		public:
			~ItemCategory();

			static ItemCategory* FromDb(db::ItemCategory* category);

			void Save() {}
			void Delete() {}

			int GetId() const;
			const ut::String& GetName() const;

		private:
			Category* mCategory;
		};
	}
}

#endif
